package br.com.salao.rest;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import br.com.salao.bean.DiaSemana;
import br.com.salao.model.DiaSemanaModel;

@Path("/diaSemana")
public class DiaSemanaService {
	
	@GET
	@Path("/{idEstabelecimento}")	
	@Produces({MediaType.APPLICATION_JSON})
	public DiaSemana buscarDiaSemanaPorIdEstabelecimentos(@PathParam("idEstabelecimento")int idEstabelecimento){
		DiaSemanaModel model = new DiaSemanaModel();
		return model.buscarDiaSemanaPorIdEstabelecimentos(idEstabelecimento);
	}
	

}
